package com.aspose.cells;

import java.util.HashMap;

class zgk extends zgi {
   static long[] j = new long[0];
   private zamj k = new zamj(8);

   zgk(int var1, int var2, int var3, zaay var4, HashMap var5) {
      super(var1, var2, var3, var4, var5);
   }

   void a() {
      this.k.a(0, this.k.a());
   }

   long[] b() {
      return this.k.a() > 0 ? this.k.b() : null;
   }

   boolean a(zyi var1) {
      long var2 = zyi.a(this.d.n, var1.a);
      Object var4 = this.e.get(var2);
      if (var4 != null) {
         return true;
      } else {
         this.e.put(var2, j);
         zamj var5 = this.k;
         this.k = new zamj(8);
         if (this.a(var1.a(this.d, false))) {
            int var6 = (Integer)this.e.get("");
            this.e.put("", var6 + 1);
            if (this.k.a() > 0) {
               this.e.put(var2, this.k.b());
            }

            var5.a(var2);
            this.k = var5;
            return true;
         } else {
            this.k = var5;
            return false;
         }
      }
   }
}
